<template>
  <div class="widget">
    <p class="widget-title">{{ content.display_name }}</p>
    <el-input-number class="val" size="mini" v-model="content.defaultValue" @change="sendValue" />
  </div>
</template>
<script>

export default {
  props: { },
  data() {
    return {
      content: {},
    };
  },
  methods: {
    sendValue () {
      this.$EventBus.$emit('defaultValue', this.content)
    }    
  },
  mounted () {
    
  }
};
</script>

<style lang="less" scoped>
.val{
  width: 180px;
}
</style>
